import request from '@/utils/request'

// 查询表单明细列表
export function listFormManageDetail(query) {
  return request({
    url: '/archive/formManageDetail/list',
    method: 'get',
    params: query
  })
}

// 查询表单明细详细
export function getFormManageDetail(detailId) {
  return request({
    url: '/archive/formManageDetail/' + detailId,
    method: 'get'
  })
}

// 新增表单明细
export function addFormManageDetail(data) {
  return request({
    url: '/archive/formManageDetail',
    method: 'post',
    data: data
  })
}

// 修改表单明细
export function updateFormManageDetail(data) {
  return request({
    url: '/archive/formManageDetail',
    method: 'put',
    data: data
  })
}

// 删除表单明细
export function delFormManageDetail(detailId) {
  return request({
    url: '/archive/formManageDetail/' + detailId,
    method: 'delete'
  })
}
